package com.zheng.sch.dao.mapper;

import com.zheng.sch.dao.model.SchStudent;
import com.zheng.sch.dao.model.SchStudentExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface SchStudentMapper {
    long countByExample(SchStudentExample example);

    int deleteByExample(SchStudentExample example);

    int deleteByPrimaryKey(Integer studentId);

    int insert(SchStudent record);

    int insertSelective(SchStudent record);

    List<SchStudent> selectByExample(SchStudentExample example);

    SchStudent selectByPrimaryKey(Integer studentId);

    int updateByExampleSelective(@Param("record") SchStudent record, @Param("example") SchStudentExample example);

    int updateByExample(@Param("record") SchStudent record, @Param("example") SchStudentExample example);

    int updateByPrimaryKeySelective(SchStudent record);

    int updateByPrimaryKey(SchStudent record);
}